import requests

url_login = "https://gitee.com/login"
h = {
    'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36"
}

data = {
    'encrypt_key': 'password',
    'utf8': '?',
    'authenticity_token': 'Y4elbTuTVDnuIbFKX36emCdve85gR0F6pMv7q8MdmM4=',
    'redirect_to_url': '',
    'user[login]': '373854468@qq.com',
    'encrypt_data[user[password]]': 'jcqKUvQZraFzCecd35DAZuMOl84nKCk7Jy5nA8GGjLvw9jco+PzdCzLW9KApCxnlZTOgQglt8Q8vRlr1VRv5i4lPIiRugI0UYHGryjx7IjMtpo9o7JxqF9mquq7age4etNXDtfN1LWUSyOD+lzihfyNFtE25KrgAnfCp5Zt4Eh4=',
    'user[remember_me]':'0'
}


session = requests.session()
result1 = session.post(url_login, headers=h, data=data)

print(result1)


url="https://gitee.com/hong_yaorong/HyrPyCode"